package com.e2oto.seller.modules.seller.bean;

/**
 * Created by ZhangLiQiang on 2017/10/8.
 */

public class RxBusBean<T> {
    private int type;
    private String msg;
    private T data;

    public RxBusBean(int type, String msg) {
        this.type = type;
        this.msg = msg;
    }

    public RxBusBean(int type) {
        this.type = type;
    }

    public RxBusBean(int type, String msg, T data) {
        this.type = type;
        this.msg = msg;
        this.data = data;
    }

    public void setType(int type) {
        this.type = type;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setData(T data) {
        this.data = data;
    }

    public int getType() {
        return type;
    }

    public String getMsg() {
        return msg;
    }

    public T getData() {
        return data;
    }
}
